﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="2.aspx.cs" Inherits="BaseWeb.拖拽研究._1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>最简单的例子</title>

    <script src="../../js/jquery-1.7.min.js" type="text/javascript"></script>

    <script src="../../js/jquery-ui-1.8.16.custom.min.js" type="text/javascript"></script>

    <script>
        $(function()
        {
            $("#dragsource").draggable();
        })
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        最简单的拖拽是不改变元素所在的容器，而只改变其位置。例子如下：
    </div>
    <div id="container">
        <div id="dragsource">
            <p>
                拽我!</p>
        </div>
    </div>
    <!-- End container -->
    </form>
</body>
</html>
